package com.study.a03mygenerics;

import java.util.ArrayList;

public class GenericsDemo3 {
    public static void main(String[] args) {

        ArrayList<String> list=new ArrayList<>();


        ListUtil.addAll2(list,"a","b","c","d");
        System.out.println(list);

        ArrayList<Integer> list2=new ArrayList<>();
        ListUtil.addAll(list2,1,2,3);
        System.out.println(list2);


    }
}
